/*
 ----------------------------------------------------------------------------------
                           "THE BEER-WARE COPYRIGHT LICENSE"
                                     (Revision 43)
                                      -----------
    Rymek [rymek@rymek.org] wrote this file. As long as You retain this notice and
    this file has been sent directly to You by the author, You can do whatever You
    want with this stuff as long as You don't sell or rent it. If we meet some day,
    and You think this stuff is worth it, You can buy me a beer in return :-)
                                                                 __________
                                                                 Paweł Rymaszewski
  ----------------------------------------------------------------------------------
 */

package constants;

/**
 * Contains all User Interface constants
 *
 * @author rymek
 *         User: rymek
 *         Date: 30.06.11
 *         Time: 12:17
 */
public interface UiConstants {

    // images
    public static final String ICON_DEFAULT_FRAME = "images/icons/tpsa-logo.png";    // path for icon image for app
    public static final String ICON_CONNECT = "images/icons/connect.png";            // path for connect icon
    public static final String ICON_SEARCH = "images/icons/search.png";              // path for search icon
    public static final String ICON_STOP = "images/icons/stop.png";                  // path for stop icon
    public static final String ICON_SAVE = "images/icons/save.png";                  // path for save icon
    public static final String ICON_MERGE = "images/icons/merge.png";                // path for merge icon

    // window names
    public static final String WND_SERVER_NAME = "Select database";
    public static final String WND_SEARCH_NAME = "Specify search parameters";

    // result column names
    public static final String COL_MSG_ID = "Message ID:";
    public static final String COL_MSG_NAME = "Message name:";
    public static final String COL_MSG_RECEIVED_DT = "Date received:";
    public static final String COL_MSG_RECEIVED_TM = "Time received:";
    public static final String COL_MSG_PROCESSING_TIME = "Processing time:";
    public static final String COL_MSG_STATUS = "Status:";

    // icon constants
    public static final int ICON_SIZE_X = 24;
    public static final int ICON_SIZE_Y = 24;

    // message header constants
    public static final String HDR_LINE_SEPARATOR = "<!-- ---------------------------------------------------------------- -->\n";
    public static final String HDR_MSG_NAME = "<!--    MSG NAME:            ";
    public static final String HDR_MSG_PUBID = "<!--    MSG PUBID:           ";
    public static final String HDR_MSG_GUID = "<!--    MSG GUID:            ";
    public static final String HDR_MSG_PUBTIMESTAMP = "<!--    MSG PUBTIMESTAMP:    ";
    public static final String HDR_MSG_LASTUPDDTTM = "<!--    MSG RPLY TIMESTAMP:  ";
    public static final String HDR_MSG_PROCESSING_TIME = "<!--    MSG PROCESSING TIME: ";
    public static final String HDR_MSG_SRC_DATABSE = "<!--    DATABASE:            ";

    // xml file types for save file messageboxes
    public static final String XML_FILE_TYPE = "XML";
    public static final String XML_EXTENSION = "xml";

    // label constants
    public static final String LBL_SRCH_REQUEST = "Search through REQUEST for:";
    public static final String LBL_SRCH_RESPONSE = "Search through RESPONSE for:";

    // other
    public static final String EMPTY_MESSAGE_STRING = "<!-- Empty message! -->";
    public static final Double DEFAULT_SPLIT_PANE_DIVIDER_LOC = 0.5;

    // app version constants
    public static final String VERSION =
            "Rymek Message Browser\n" +
                    "Version: v%1\n" +
                    "(c) Rymek\n" +
                    "    rymek@rymek.org\n" +
                    "    http://www.rymek.org";

    // version number
    public static final String VERSION_NUMBER = "2.02";

    // app name
    public static final String APP_WND_TITLE = " - RMB v" + VERSION_NUMBER;

    // app License :-)
    public static final String LICENSE =
            " ----------------------------------------------------------------------------------------------------------------------------------------------\n" +
                    "                                         \"THE BEER-WARE COPYRIGHT LICENSE\"\n" +
                    "                                                             (Revision 43)\n" +
                    "                                                                 -----------\n" +
                    "        Rymek [rymek@rymek.org] wrote this app. As long as You retain this notice and \n" +
                    "        this file has been sent directly to You by the author, You can do whatever You\n" +
                    "        want with this stuff as long as You don't sell or rent it. If we meet some day,\n" +
                    "        and You think this stuff is worth it, You can buy me a beer in return :-)\n" +
                    "                                                                                                       __________\n" +
                    "                                                                                                       Paweł Rymaszewski\n" +
                    " ----------------------------------------------------------------------------------------------------------------------------------------------";
}
